﻿namespace RayDen.Library.Core.Primitives
{
    public interface ISerializableValue
    {
        byte[] Serialize();
        void Deserialize(byte[] data, int offset = 0);
    }


    public interface IStringSerializable
    {
        string SerializeToString();
        void FromString(string data);
    }
}